package com.hroa.web.vo;

/**
 * ajax请求的json返回对象封装
 * Created by Hays on 14/11/9.
 */
public class ResponseEntity<T> extends AbstractJsonEntity {
    private T data;

    public ResponseEntity() {
        super();
    }

    public ResponseEntity(String code, String msg, T data) {
        super(code, msg);
        this.data = data;
    }

    public ResponseEntity(String code, String msg) {
        super(code, msg);
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
